package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationUndertakingDao;
import com.site.wisdom_construction.entity.personnelModule.EducationUndertaking;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/18
 * @Description
 */
@Service
public class EducationUndertakingService implements EducationUndertakingDao {
    @Autowired
    private EducationUndertakingDao educationUndertakingDao;

    @Override
    public int insertEducationUndertaking(Map map) {
        return educationUndertakingDao.insertEducationUndertaking(map);
    }

    @Override
    public int deleteEducationUndertaking(Map map) {
        return educationUndertakingDao.deleteEducationUndertaking(map);
    }

    @Override
    public int updateEducationUndertaking(Map map) {
        return educationUndertakingDao.updateEducationUndertaking(map);
    }

    @Override
    public List<EducationUndertaking> findEducationUndertakingByPage(Map map) {
        return educationUndertakingDao.findEducationUndertakingByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationUndertakingDao.Total(map);
    }

    @Override
    public EducationUndertaking findEducationUndertakingByEducationProfessionId(Map map) {
        return educationUndertakingDao.findEducationUndertakingByEducationProfessionId(map);
    }
}
